using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DataModels.Models
{
    [Table("MobileContryCode")]
    public partial class MobileContryCode
    {
        public MobileContryCode()
        {
            this.MobilePhoneOperators = new List<MobilePhoneOperator>();
        }

        [Key]
        public string MCC { get; set; }

        [Required]
        [StringLength(3)]
        public string ISOCode { get; set; }

        [StringLength(2)]
        public string Country { get; set; }
        public virtual List<MobilePhoneOperator> MobilePhoneOperators { get; set; }
    }
}
